package com.java0107;

import java.io.*;

public class Writer01 {
    public static void main(String[] args) throws IOException {
        FileWriter fileWriter = new FileWriter("d:/test.txt");

        BufferedWriter bufferedWriter =new BufferedWriter(fileWriter);

        for(int i =0;i<5;i++){
            bufferedWriter.write("你好啊！");
    }
        bufferedWriter.close();
        fileWriter.close();
    }
}
